package ru.paswd.marketprice.data.mappers

import ru.paswd.marketprice.api.dto.ProductCategory

object ProductCategoryMapper {
    fun fromDto(
        productCategory: ProductCategory?
    ) = ru.paswd.marketprice.data.models.ProductCategory(productCategory?.id, productCategory?.name)
}